//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by ShipCollection.rc
//
#pragma once

struct MappingStruct
{
	//WSysConfigString MapName;	
	HANDLE m_hIdentificationFile;
	HANDLE m_hIdentificationMapping;	
	HANDLE m_hMediaFile;
	HANDLE m_hMediaMapping;	
	HANDLE m_hCollectionFile;
	HANDLE m_hCollectionMapping;
};

//struct CollectionStruct
//{
//	WSysConfigString m_FileName;
//	WSysConfigString m_IniName;
//
//	HINSTANCE		m_loadhandle;
//	typedef int ( *  InitConfig)();
//	//typedef int ( *  MediaPath)();
//	typedef int ( *  StartCollection)();
//	typedef int ( *  StopCollection)();	
//	InitConfig			f_initconfig;
//	//typedef int ( *  MediaPath)();
//	StartCollection		f_startcollection;
//	StopCollection		f_stopcollection;
//
//
//	//std::map<int,MappingStruct*> m_OutputMappings;
//
//	//HANDLE m_hOutputFile;
//	HANDLE m_hOutputMapping;
//	int	m_CurrentMap;
//	WSysConfigString MapName;
//
//	//HANDLE m_hOutputMapping;
//	HANDLE m_hReadyMapping;
//
//};

struct MultiCollectionStruct
{
	CString m_FileName;
	CString m_IniName;

	HINSTANCE		m_loadhandle;
	typedef int ( *  InitConfig)();
	//typedef int ( *  MediaPath)();
	typedef int ( *  StartCollection)();
	typedef int ( *  StopCollection)();	
	InitConfig			f_initconfig;
	//typedef int ( *  MediaPath)();
	StartCollection		f_startcollection;
	StopCollection		f_stopcollection;


	std::map<int,MappingStruct*> m_OutputMappings;

	//HANDLE m_hOutputFile;
	//HANDLE m_hOutputMapping;
	int	m_CurrentMap;
	WSysConfigString MapName;

	//HANDLE m_hOutputMapping;
	HANDLE m_hReadyMapping;

};


